from status import *

from google.appengine.ext import db

class ToDo(db.Model):
  date_created = db.DateTimeProperty(auto_now_add=True)
  date_modified = db.DateTimeProperty(auto_now=True)
  date_removed = db.DateTimeProperty()
  author = db.UserProperty()
  title = db.StringProperty()
  note = db.StringProperty(multiline=True)
  priority = db.RatingProperty()
  effort = db.RatingProperty()
  status = db.ReferenceProperty(Status)
